Skip to content

Fix tox compatibility matrix and github workflow - #7

Merged
Maverick-F merged 4 commits into
mainfrom
fix_tox_compat_matrix
Nov 10, 2026
Merged

Maverick-F merged 4 commits into
mainfrom
fix_tox_compat_matrix

Conversation

@Maverick-F

Copy link
Copy Markdown
Contributor

Fix tox compatibility matrix and github workflow

All three Tox jobs failed with "pytest is not allowed, use allowlist_externals
to allow it": with sitepackages = true, pytest lives in the base conda env,
not in the tox venv, so tox 4 refuses the bare command. tox now runs
python -m pytest, and passes PROJ_DATA, PROJ_LIB, GDAL_DATA and
GDAL_DRIVER_PATH through, as it strips the environment and pyproj/GDAL can't
find their data from inside the venv. The workflow falls back to the conda
env's share/ dirs when activation doesn't export them.

From BERATool/beratools_full.
conda-forge has no Python 3.14 build of networkit yet, so the 3.14 job
installs it from PyPI (which publishes cp314 wheels) instead of conda.

From BERATool/beratools_full.
Both can now be started with workflow_dispatch. A manual docs run also
uploads and deploys the site (the deploy steps now run on anything but a
pull request, not only on push).

From BERATool/beratools_full.
@Maverick-F
Maverick-F marked this pull request as ready for review November 10, 2026 20:44
@Maverick-F
Maverick-F merged commit 7ecc16c into main Nov 10, 2026
9 checks passed
@Maverick-F
Maverick-F deleted the fix_tox_compat_matrix branch November 10, 2026 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant